package com.hjj.services;

import com.hjj.beans.User;
import com.hjj.exception.LoginException;
import com.hjj.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userServicesFilter")
public class UserServicesFilter implements UserServices {
    @Autowired
    UserMapper userMapper;

    @Override
    public User getByUser(String loginAct, String loginPwd){
        return userMapper.getByUser(loginAct, loginPwd);
    }
}
